import React from 'react';
export default function icon({ name }) {
	const iconDome = {
		note: (
			<svg
				width="28px"
				height="28px"
				viewBox="0 0 28 28"
				version="1.1"
				xmlns="http://www.w3.org/2000/svg"
				xmlnsXlink="http://www.w3.org/1999/xlink"
			>
				<g
					id="资产画像1期-设计稿"
					stroke="none"
					strokeWidth="1"
					fill="none"
					fillRule="evenodd"
				>
					<g
						id="漏洞监测-监测详情"
						transform="translate(-274.000000, -207.000000)"
					>
						<g id="编组-6" transform="translate(259.000000, 190.000000)">
							<g id="编组" transform="translate(15.000000, 17.000000)">
								<g id="logo" fill="#4D98E5">
									<rect
										id="Rectangle-2"
										x="0"
										y="0"
										width="28"
										height="28"
										rx="4"
									></rect>
								</g>
								<g
									id="3.Icon/1.线性/2.业务安全类/系统监控"
									transform="translate(6.000000, 6.000000)"
									fill="#FFFFFF"
								>
									<path
										d="M15.4545455,0 C16.3080764,0 17,0.691923568 17,1.54545455 L17,10.0454545 C17,10.8989855 16.3080764,11.5909091 15.4545455,11.5909091 L9.27272727,11.5909091 L9.27272727,13.9090909 L15.5596665,13.9090909 L15.5596665,15.4545455 L1.65057557,15.4545455 L1.65057557,13.9090909 L7.72727273,13.9083182 L7.72727273,11.5909091 L1.54545455,11.5909091 C0.691923568,11.5909091 0,10.8989855 0,10.0454545 L0,1.54545455 C0,0.691923568 0.691923568,0 1.54545455,0 L15.4545455,0 Z M1.54545455,10.0454545 L15.4545455,10.0454545 L15.4545455,6.79613636 L6.90104127,6.79684917 L6.19893878,6.02413418 L4.09996549,8.30149494 L3.32633768,6.79684917 L1.54545455,6.79613636 L1.54545455,10.0454545 Z M15.4545455,1.54545455 L1.54545455,1.54545455 L1.54545455,5.25068182 L2.35925262,5.25139463 L3.55494019,3.32588438 L4.57433212,5.63136581 L6.11183952,3.82975316 L7.36834167,5.25139463 L15.4545455,5.25068182 L15.4545455,1.54545455 Z"
										id="形状"
									></path>
								</g>
							</g>
						</g>
					</g>
				</g>
			</svg>
		),
		task: (
			<svg
				width="28px"
				height="28px"
				viewBox="0 0 28 28"
				version="1.1"
				xmlns="http://www.w3.org/2000/svg"
				xmlnsXlink="http://www.w3.org/1999/xlink"
			>
				<g
					id="资产画像1期-设计稿"
					stroke="none"
					strokeWidth="1"
					fill="none"
					fillRule="evenodd"
				>
					<g
						id="HTTP监测-监测详情"
						transform="translate(-265.000000, -202.000000)"
					>
						<g id="编组-15" transform="translate(250.000000, 184.000000)">
							<g id="编组-16" transform="translate(15.000000, 18.000000)">
								<g id="logo" fill="#A18EDD">
									<rect
										id="Rectangle-2"
										x="0"
										y="0"
										width="28"
										height="28"
										rx="4"
									></rect>
								</g>
								<g
									id="任务"
									transform="translate(5.000000, 5.000000)"
									fill="#FFFFFF"
									fillRule="nonzero"
								>
									<path
										d="M15.42825,0 L2.57174999,0 C1.15141935,0 0,1.15141935 0,2.57174999 L0,15.42825 C0,16.8485806 1.15141935,18 2.57174999,18 L15.42825,18 C16.8485806,18 18,16.8485806 18,15.42825 L18,2.57174999 C18,1.15141935 16.8485806,0 15.42825,0 Z M16.7153237,15.4317339 C16.7155934,15.7725477 16.5802062,16.0994551 16.339051,16.3402835 C16.0978958,16.5811119 15.7708051,16.7160556 15.429992,16.7153256 L2.5747258,16.7153256 C2.23091129,16.7153256 1.90625805,16.5832258 1.66311291,16.3400806 C1.41996778,16.0969355 1.28467742,15.7755484 1.28467742,15.4317339 L1.28467742,2.57298387 C1.28595804,1.86132295 1.86306379,1.28499645 2.5747258,1.28467742 L15.429992,1.28467742 C15.7712923,1.28502369 16.098471,1.42096178 16.3395278,1.66257661 C16.5805845,1.90419143 16.7157656,2.23168361 16.7153237,2.57298387 L16.7153237,15.4317339 Z"
										id="形状"
									></path>
									<path
										d="M14.368947,5.23549604 L9.31581701,5.23549604 C8.96729607,5.23549604 8.68476402,5.51325752 8.68476402,5.85589366 C8.68476402,6.1985298 8.96729607,6.47629127 9.31581701,6.47629127 L14.368947,6.47629127 C14.717468,6.47629127 15,6.1985298 15,5.85589366 C15,5.51325752 14.717468,5.23549604 14.368947,5.23549604 L14.368947,5.23549604 Z M14.368947,10.2056871 L9.31581701,10.2056871 C8.96729607,10.2056871 8.68476402,10.4834486 8.68476402,10.8260847 C8.68476402,11.1687208 8.96729607,11.4464823 9.31581701,11.4464823 L14.368947,11.4464823 C14.717468,11.4464823 15,11.1687208 15,10.8260847 C15,10.4834486 14.717468,10.2056871 14.368947,10.2056871 Z M5.52600516,8.65371165 C4.30504242,8.65371165 3.31553708,9.62678954 3.31553708,10.8268558 C3.31553708,12.0269221 4.30532764,13 5.52600516,13 C6.74668267,13 7.73647322,12.0269221 7.73647322,10.8268558 C7.73647322,9.62678952 6.74696788,8.65371165 5.52600516,8.65371165 Z M6.19677526,11.4865803 C5.87671939,11.8009298 5.37537312,11.8492556 4.99930818,11.6020066 C4.62324324,11.3547576 4.47718473,10.8807868 4.65044699,10.4699259 C4.82370924,10.059065 5.26804287,9.82572893 5.71173919,9.91260199 C6.15543551,9.99947505 6.47493572,10.3823652 6.4748694,10.8271362 C6.4755024,11.0746685 6.37536207,11.3121589 6.19677526,11.4866504 L6.19677526,11.4865803 Z M6.9747174,4.17871708 L4.89431042,6.22392614 L4.0772929,5.42063392 C3.83084725,5.17834952 3.4312799,5.17834951 3.18483424,5.42063391 C2.93838859,5.66291831 2.93838858,6.05573894 3.18483423,6.29802335 L4.44808108,7.54001031 C4.56642708,7.65636194 4.72694109,7.72172793 4.89431042,7.72172793 C5.06167975,7.72172793 5.22219375,7.65636194 5.34053975,7.54001031 L7.86710475,5.0561065 C8.1106958,4.81336543 8.1093598,4.42285249 7.86411337,4.1817278 C7.61886694,3.94060311 7.22164702,3.93925847 6.9747174,4.17871708 L6.9747174,4.17871708 Z"
										id="形状"
									></path>
								</g>
							</g>
						</g>
					</g>
				</g>
			</svg>
		),
		down: (
			<svg
				width="14px"
				height="14px"
				viewBox="0 0 14 14"
				version="1.1"
				xmlns="http://www.w3.org/2000/svg"
				xmlnsXlink="http://www.w3.org/1999/xlink"
			>
				<g
					id="资产画像1期-设计稿"
					stroke="none"
					strokeWidth="1"
					fill="none"
					fillRule="evenodd"
				>
					<g
						id="安全事件监测-安全事件详情"
						transform="translate(-1313.000000, -148.000000)"
						fill="#0B6FD6"
						fillRule="nonzero"
					>
						<g id="编组-20" transform="translate(1313.000000, 144.000000)">
							<g id="导出" transform="translate(0.000000, 4.000000)">
								<path
									d="M0.912318023,12.4610931 L13.0873488,12.4610931 C13.5889033,12.4391384 14,12.6941645 13.999587,13.1649165 L13.999587,13.2445275 C14.0149648,13.7554591 13.5988759,14.0193802 13.0873488,13.9988912 L0.912318023,13.9988912 C0.30448497,13.9988912 0.0327402129,13.8071011 0,13.2647436 L0,13.1851225 C0.0227675629,12.6379334 0.345223252,12.4425044 0.912318023,12.4610931 Z M13.3809336,4.33262475 L8.51284406,0.0645920981 C8.42865249,-0.00514876336 8.31243105,-0.0196913634 8.21403354,0.0272024239 C8.11564118,0.0740484402 8.0524854,0.173949505 8.05160897,0.284128809 L8.05160897,2.68441642 C8.04937509,2.83159972 7.93582649,2.93664256 7.79389573,2.96791686 C1.72065122,4.30636404 0.754809974,9.39223892 0.722884546,11.2247675 C0.720603792,11.3580219 0.812980458,11.4738602 0.940859747,11.5043258 C1.06876897,11.5347612 1.20057749,11.4718386 1.2587679,11.3523614 C2.5135667,8.73159707 4.46190351,5.92866545 7.75591989,6.20489821 C7.83311818,6.21136735 7.90863109,6.2312701 7.96435824,6.28585357 C8.02020509,6.34043704 8.05171866,6.41570157 8.05160897,6.49428154 L8.05160897,8.83807525 C8.05134208,8.94879528 8.11406759,9.04975199 8.21269719,9.09734672 C8.31131508,9.14503178 8.4282264,9.13075147 8.51284406,9.06068482 L13.3809336,4.76740226 C13.4426267,4.71245987 13.4780174,4.63325766 13.4780174,4.55001857 C13.4780174,4.46676867 13.4426145,4.38752157 13.3809336,4.33262475 Z"
									id="形状"
								></path>
							</g>
						</g>
					</g>
				</g>
			</svg>
		),
	};
	return iconDome[name];
}
